from utils.reference import read_yaml


class DB:
    def __init__(self):
        self.database = dict()
        self.tr = read_yaml('tr.yaml', _iter=False)
        self.colors = dict()
        self.npc_map = dict()
        self.portals = dict()
        self.links = dict()
        self.lattice_map = dict()
        self.quests = dict()
        self.tree = dict()
        self.equipments = dict()
        self.materials = dict()

DBSession = DB()
